package com.youzhi.backend.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.FieldNameConstants;

import java.util.List;


@Data
@ApiModel("更新用户属性")
@FieldNameConstants
public class UpdateUserRequest {

    @ApiModelProperty("用户id")
    private Long id;

    @ApiModelProperty("用户名")
    private String name;

    @ApiModelProperty("用户手机号")
    private String phone;

    @ApiModelProperty("用户密码")
    private String password;

    @ApiModelProperty("用户性别")
    private Integer sex;

    @ApiModelProperty("角色ids")
    private List<Integer> roleIds;

    @ApiModelProperty("用户部门id")
    private Long organizationId;

}
